package cn.zwz.customer.entity;

import cn.zwz.basics.baseClass.ZwzBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;

/**
 * @author 熊英杰
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "a_supplier")
@TableName("a_supplier")
@ApiModel(value = "供应商信息")
public class Supplier extends ZwzBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "供应商编号")
    private String code;

    @ApiModelProperty(value = "公司名称")
    private String name;

    @ApiModelProperty(value = "公司地址")
    private String address;

    @ApiModelProperty(value = "联系人")
    private String duty;

    @ApiModelProperty(value = "电话")
    private String mobile;

    @ApiModelProperty(value = "银行账户")
    private String account;

    @ApiModelProperty(value = "法人")
    private String legalPerson;

    @ApiModelProperty(value = "备注")
    private String remark;
}